@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    min-height: 100vh;
    color: white;
    background: #05030b;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(170, 165, 152, 0), rgba(0, 0, 0, .92)),
        url("../../images/tarasBaners-ezgif.com-video-to-gif-converter.gif") center/cover no-repeat;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 0, 180, .22), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(0, 120, 255, .18), transparent 35%);
    z-index: -1;
}

.navbar {
    height: 90px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.logo img {
    width: 75px;
    border-radius: 50%;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 1px;
}

nav a:hover {
    color: #ff2ebd;
}

.page {
    width: min(1320px, 92%);
    margin: auto;
}

.back {
    display: inline-block;
    margin: 28px 0;
    color: #ff8ee8;
    text-decoration: none;
    font-weight: 900;
}

.hero-frame-heading {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 10px 12px 14px;
}

.event-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-align: center;
}

.event-heading .event-name {
    display: inline;
    color: #dc62fa;
    font-family: 'Cinzel', serif;
    font-size: clamp(1.05rem, 2.6vw, 1.45rem);
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.4;
    text-shadow: 0 1px 12px rgba(195, 123, 255, .4);
}

.event-heading .event-school {
    color: #aa08ca;
    font-family: 'Cinzel', serif;
    font-size: clamp(.82rem, 1.9vw, 1.05rem);
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-shadow: 0 0 7px rgba(255, 190, 75, .34), 0 0 14px rgba(255, 190, 75, .16);
}

.hero-frame {
    position: relative;
    isolation: isolate;
    width: calc(100% + 32px);
    margin-inline: -16px;
    padding: 8px;
    overflow: visible;
    border: 1px solid rgba(245, 212, 123, .38);
    border-radius: 40px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 213, 112, .19), transparent 48%),
        linear-gradient(135deg, rgba(197, 160, 89, .2), rgba(29, 12, 43, .9) 35%, rgba(117, 40, 165, .28) 70%, rgba(197, 160, 89, .16));
    box-shadow: 0 0 34px rgba(255, 177, 69, .12), 0 16px 48px rgba(0, 0, 0, .28);
}

.hero-frame-title {
    margin: 0;
    padding: 0;
    font-family: 'Cinzel', serif;
    font-size: clamp(1.2rem, 3.4vw, 1.9rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .055em;
    text-align: center;
    text-transform: uppercase;
    color: #f4d27a;
    background: linear-gradient(180deg, #fff3c1 0%, #f4d27a 38%, #bd7b25 72%, #ffe7a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 0 rgba(67, 28, 8, .75)) drop-shadow(0 0 12px rgba(255, 181, 57, .4));
}

.hero-frame-heading::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 54px;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(245, 212, 123, .8), transparent);
}

@media (max-width: 480px) {
    .hero-frame-heading {
        gap: 4px;
        padding: 9px 5px 13px;
    }

    .hero-frame-title {
        font-size: clamp(1.05rem, 5vw, 1.35rem);
        letter-spacing: .025em;
    }

    .event-heading .event-name {
        font-size: clamp(.98rem, 4.4vw, 1.2rem);
    }

    .event-heading .event-school {
        font-size: clamp(.76rem, 3.4vw, .92rem);
        letter-spacing: .13em;
    }
}

/* Stilul bază (Desktop) */
.hero {
    min-height: 500px;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    position: relative;
    align-items: flex-end; /* Schimbat din center în flex-end pentru a împinge tot scrisul JOS */
    padding: 30px 25px;   /* Spațiul din jurul textului când ajunge jos */
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.60) 100%),
        url("../../images/tarasdekstopbanner.jpg") top / cover no-repeat;
    border: 1px solid rgba(3, 47, 192, 0.4);
    box-shadow: 0 0 45px rgba(255, 46, 189, .22); 
}

/* Ajustări speciale pentru telefoane (Mobil) */
@media (max-width: 768px) {
    .hero {
        min-height: 380px;
        align-items: flex-end; /* Asigură coborârea textului și pe mobil */
        padding: 20px 15px;
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.40) 100%),
            url("../../images/tarasbaner.jpg") center top / cover no-repeat;
    }

    /* Reducem dimensiunea textului pe mobil ca să nu depășească cadrul */
    .hero h1, .hero .title { 
        font-size: 1.5rem !important; 
        line-height: 1.2; /* Am redus line-height de la 1.9 ca să nu ocupe prea mult spațiu */
    }
    
    .hero p, .hero .subtitle {
        font-size: 0.9rem !important;
    }
}

.hero-content span {
    color: #FFD700;
    font-weight: 100;
    letter-spacing: 10px;
}

.hero-content h2 {
    margin-top: 15px;
    font-size: 30px;
    font-weight: 700;
    color: #F5E6CA;
}

.hero-content h1 {
    font-size: 74px;
    color: #C5A059;
    margin: 8px 0 18px;
}

.hero-content p {
    color: #f1a31c;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    text-align: center;
    font-size: 34px;
    margin: 65px 0 30px;
    color: #ffcf7b;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.detail-card {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 360px;
    min-height: 175px;
    box-sizing: border-box;
    padding: 22px 24px 18px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(216, 99, 255, 0.42);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(150, 30, 255, 0.20), transparent 65%),
        linear-gradient(145deg, rgba(31, 13, 49, 0.96), rgba(10, 9, 27, 0.97) 60%, rgba(26, 13, 49, 0.96));
    box-shadow:
        0 0 25px rgba(154, 35, 255, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.detail-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(90deg, transparent 18%, #ec43ff 50%, #8b72ff 82%, transparent 100%) top center / 64% 1px no-repeat,
        radial-gradient(circle at 10% 100%, rgba(255, 0, 200, 0.13), transparent 42%),
        radial-gradient(circle at 100% 0%, rgba(60, 90, 255, 0.15), transparent 40%);
}

.detail-card::after {
    content: "✦";
    position: absolute;
    right: 14px;
    bottom: 10px;
    color: #dc66ff;
    font-size: 16px;
    line-height: 1;
    text-shadow: 0 0 10px rgba(195, 61, 255, .8);
    pointer-events: none;
}

.detail-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 104, 255, 0.8);
    box-shadow:
        0 8px 35px rgba(153, 35, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.detail-crown {
    position: absolute;
    top: 12px;
    left: 15px;
    color: #d65aff;
    font-size: 22px;
    opacity: 0.7;
    text-shadow: 0 0 12px rgba(214, 90, 255, 0.6);
}

.panel-crown {
    position: absolute;
    top: 16px;
    left: 18px;
    color: #d65aff;
    font-size: 22px;
    opacity: 0.7;
    text-shadow: 0 0 12px rgba(214, 90, 255, 0.6);
}

.detail-icon {
    color: #ff35dc;
    font-size: 27px;
    margin-bottom: 9px;
    filter: drop-shadow(0 0 8px rgba(255, 30, 220, 0.65));
}

.detail-icon i {
    color: inherit;
    font-size: inherit;
}

.detail-card h2 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(100deg, #ffffff, #e9c9ff 45%, #f45cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(180, 60, 255, 0.18));
}

.detail-value {
    margin: 8px 0 12px;
    color: #e7dff2;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    line-height: 1.6;
    text-transform: uppercase;
}

.detail-date {
    letter-spacing: 4px;
}

.detail-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 70%;
}

.panel-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 70%;
    margin: 4px 0 16px;
}

.detail-divider span,
.panel-divider span {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, #a943ff, #ff42e6);
    box-shadow: 0 0 7px rgba(194, 56, 255, 0.55);
}

.detail-divider span:last-child,
.panel-divider span:last-child {
    transform: rotate(180deg);
}

.detail-divider b,
.panel-divider b {
    color: #dc66ff;
    font-size: 15px;
    font-weight: 400;
    text-shadow: 0 0 10px #c33dff;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 60px;
}

.gallery-box,
.tickets-box {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 320px;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(216, 99, 255, .42);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(150, 30, 255, .2), transparent 65%),
        linear-gradient(145deg, rgba(31, 13, 49, .96), rgba(10, 9, 27, .97) 60%, rgba(26, 13, 49, .96));
    box-shadow: 0 0 25px rgba(154, 35, 255, .13), inset 0 1px 0 rgba(255, 255, 255, .12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.gallery-box::before,
.tickets-box::before,
.quick-menu a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(90deg, transparent 18%, #ec43ff 50%, #8b72ff 82%, transparent 100%) top center / 64% 1px no-repeat,
        radial-gradient(circle at 10% 100%, rgba(255, 0, 200, .13), transparent 42%),
        radial-gradient(circle at 100% 0%, rgba(60, 90, 255, .15), transparent 40%);
}

.gallery-box::after,
.tickets-box::after,
.quick-menu a::after {
    content: "✦";
    position: absolute;
    right: 16px;
    bottom: 12px;
    color: #dc66ff;
    font-size: 17px;
    line-height: 1;
    text-shadow: 0 0 10px rgba(195, 61, 255, .8);
    pointer-events: none;
}

.gallery-box:hover,
.tickets-box:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 104, 255, .8);
    box-shadow: 0 8px 35px rgba(153, 35, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .15);
}

.panel-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 222, 194, .16);
    border-radius: 17px;
    color: #ff35dc;
    background: linear-gradient(145deg, rgba(211, 80, 255, .2), rgba(92, 74, 255, .16));
    box-shadow: inset 0 1px rgba(255, 255, 255, .1), 0 7px 18px rgba(0, 0, 0, .16);
    font-size: 24px;
    filter: drop-shadow(0 0 8px rgba(255, 30, 220, .4));
}

.panel-icon i {
    color: inherit;
    font-size: inherit;
}

/* Optimizare pentru telefoane (ecrane sub 767px) */
@media (max-width: 767px) {
    .tickets-box {
        padding: 28px 22px;
        min-height: 290px;
        border-radius: 20px;
        backdrop-filter: blur(12px); /* Un blur mai ușor pentru mobil */
        -webkit-backdrop-filter: blur(12px);
    }
}

.gallery-box h2,
.tickets-box h2 {
    margin: 0 0 10px;
    font-family: 'Cinzel', serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(100deg, #fff, #e9c9ff 45%, #f45cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gallery-box p,
.tickets-box p {
    color: #ddd;
    margin-bottom: 12px;
    font-size: 17px;
}

.ticket-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 12px 0 8px;
}

.ticket-fact {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 86px;
    padding: 12px;
    border: 1px solid rgba(216, 99, 255, .24);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(119, 47, 158, .2), rgba(28, 19, 49, .62));
    box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.ticket-fact::after {
    content: "✦";
    position: absolute;
    right: 10px;
    bottom: 8px;
    color: #dc66ff;
    font-size: 13px;
    line-height: 1;
    text-shadow: 0 0 8px rgba(195, 61, 255, .75);
    pointer-events: none;
}

.ticket-fact-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #d8c9e7;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.ticket-fact-label i {
    color: #dc66ff;
    font-size: 13px;
}

.ticket-fact b {
    color: #f3c7ff;
    font-family: 'Cinzel', serif;
    font-size: 19px;
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(195, 61, 255, .35);
}

.gallery-box a,
.tickets-box a {
    width: fit-content;
    margin-top: 10px;
    padding: 14px 24px;
    border-radius: 13px;
    border: 1px solid rgba(230, 104, 255, .55);
    color: white;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .5px;
    background: linear-gradient(110deg, rgba(155, 35, 255, .3), rgba(255, 53, 220, .2));
    box-shadow: 0 0 14px rgba(188, 56, 255, .2), inset 0 1px rgba(255, 255, 255, .12);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}

.gallery-box a:hover,
.tickets-box a:hover,
.gallery-box a:focus-visible,
.tickets-box a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(241, 160, 255, .9);
    background: linear-gradient(110deg, rgba(155, 35, 255, .58), rgba(255, 53, 220, .45));
    box-shadow: 0 0 24px rgba(188, 56, 255, .5), 0 0 42px rgba(255, 53, 220, .18), inset 0 1px rgba(255, 255, 255, .16);
}

.quick-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.quick-menu a {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 230px;
    padding: 38px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: white;
    border-radius: 24px;
    border: 1px solid rgba(216, 99, 255, .42);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(150, 30, 255, .2), transparent 65%),
        linear-gradient(145deg, rgba(31, 13, 49, .96), rgba(10, 9, 27, .97) 60%, rgba(26, 13, 49, .96));
    box-shadow: 0 0 25px rgba(154, 35, 255, .13), inset 0 1px 0 rgba(255, 255, 255, .12);
    backdrop-filter: blur(15px);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.quick-menu a:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 104, 255, .8);
    box-shadow: 0 8px 35px rgba(153, 35, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .15);
}

.quick-menu i {
    color: #ff35dc;
    font-size: 34px;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 8px rgba(255, 30, 220, .55));
}

.quick-menu-symbol {
    color: #ff35dc;
    font-size: 38px;
    line-height: 1;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 8px rgba(255, 30, 220, .55));
}

.quick-menu h3 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(100deg, #fff, #e9c9ff 45%, #f45cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.quick-menu .panel-divider {
    margin: 10px 0 12px;
}

.quick-menu p {
    color: #ccc;
}

.quick-menu-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(230, 104, 255, .55);
    border-radius: 999px;
    background: linear-gradient(110deg, rgba(155, 35, 255, .26), rgba(255, 53, 220, .18));
    box-shadow: 0 0 12px rgba(188, 56, 255, .22), inset 0 1px rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, gap .25s ease;
}

.quick-menu a:hover .quick-menu-action,
.quick-menu a:focus-visible .quick-menu-action {
    gap: 13px;
    border-color: rgba(241, 160, 255, .9);
    background: linear-gradient(110deg, rgba(155, 35, 255, .5), rgba(255, 53, 220, .38));
    box-shadow: 0 0 22px rgba(188, 56, 255, .48), 0 0 36px rgba(255, 53, 220, .16), inset 0 1px rgba(255, 255, 255, .16);
}

html[data-theme="light"] .quick-menu-action {
    border-color: rgba(217, 15, 155, .38);
    background: linear-gradient(110deg, #9b23ff, #d90f9b);
    box-shadow: 0 0 14px rgba(217, 15, 155, .24), inset 0 1px rgba(255, 255, 255, .18);
    color: #fff;
}

.sponsors {
    position: relative;
    margin: 70px 0 60px;
}

.sponsors .section-title {
    margin: 0 0 10px;
    font-family: 'Cinzel', serif;
    font-size: 32px;
    letter-spacing: 1px;
    background: linear-gradient(100deg, #fff, #e9c9ff 45%, #f45cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sponsors-crown {
    display: block;
    margin-bottom: 8px;
    color: #d65aff;
    font-size: 25px;
    text-align: center;
    text-shadow: 0 0 12px rgba(214, 90, 255, .6);
}

.sponsors-line {
    overflow: hidden;
    padding: 20px 0;
    border-radius: 24px;
    border: 1px solid rgba(216, 99, 255, .35);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(150, 30, 255, .14), transparent 65%),
        linear-gradient(145deg, rgba(31, 13, 49, .84), rgba(10, 9, 27, .92) 60%, rgba(26, 13, 49, .86));
    box-shadow: 0 0 25px rgba(154, 35, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.sponsors-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: sponsorsMove 20s linear infinite;
}

.sponsors-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 16px;
    padding: 0 16px 0 0;
}

.sponsor-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 82px;
    padding: 12px 18px;
    border: 1px solid rgba(216, 99, 255, .28);
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(150, 30, 255, .15), transparent 70%),
        linear-gradient(145deg, rgba(49, 27, 68, .85), rgba(17, 14, 34, .9));
    box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 8px 20px rgba(0, 0, 0, .16);
    white-space: nowrap;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.sponsor-item:hover {
    transform: translateY(-3px);
    border-color: rgba(230, 104, 255, .65);
    box-shadow: 0 8px 24px rgba(153, 35, 255, .16), inset 0 1px rgba(255, 255, 255, .12);
}

.sponsor-logo {
    display: block;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(200, 126, 255, .2));
}

.sponsors-track .sponsor-name {
    color: #eee1f7;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .35px;
    white-space: nowrap;
}

@keyframes sponsorsMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.footer {
    width: 100%;
    padding: 28px 20px;
    text-align: center;
    background: rgba(0, 0, 0, .45);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer p {
    color: #a8a8a8;
    font-size: 15px;
}

@media(max-width:1024px) {
    .navbar {
        padding: 20px 4%;
        height: auto;
        flex-wrap: wrap;
        gap: 20px;
    }

    nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 40px;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 52px;
    }

    .details-grid,
    .quick-menu {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:700px) {
    .navbar {
        flex-direction: column;
        padding: 18px 20px;
    }

    nav {
        width: 100%;
        justify-content: center;
        gap: 14px;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        min-height: 330px;
        padding: 30px 22px;
        border-radius: 22px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-content span {
        font-size: 12px;
        letter-spacing: 4px;
    }

    .section-title {
        font-size: 28px;
    }

    .details-grid,
    .quick-menu,
    .main-grid {
        grid-template-columns: 1fr;
    }

    .gallery-box,
    .tickets-box {
        padding: 28px 22px;
    }

    .gallery-box h2,
    .tickets-box h2 {
        font-size: 28px;
    }

    .gallery-box a,
    .tickets-box a {
        width: 100%;
        text-align: center;
    }

    .footer {
        padding: 22px 15px;
    }

    .footer p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .detail-card {
        max-width: 100%;
        min-height: 160px;
        padding: 20px;
        border-radius: 20px;
    }

    .detail-card h2 {
        font-size: 23px;
    }

    .detail-value {
        font-size: 12px;
    }

    .detail-date {
        letter-spacing: 3px;
    }
}

.coming-soon {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);

    background: rgba(20, 10, 35, 0.95);
    border: 1px solid rgba(180, 80, 255, 0.7);
    color: white;

    padding: 14px 28px;
    border-radius: 12px;

    font-size: 16px;
    font-weight: 600;

    opacity: 0;
    pointer-events: none;
    z-index: 99999;

    transition: all 0.3s ease;
}

.coming-soon.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.scroll-cue {
    position: fixed;
    z-index: 1000;
    bottom: 20px;
    left: 50%;
    display: none;
    width: max-content;
    min-height: 48px;
    gap: 10px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    border: 1px solid rgba(232, 121, 215, .55);
    border-radius: 999px;
    background: rgba(20, 10, 35, .94);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    opacity: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35), 0 0 18px rgba(183, 80, 255, .24);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity .2s ease, box-shadow .2s ease;
}

.scroll-cue i {
    color: #f5c7f1;
}

.scroll-cue.is-visible {
    display: flex;
    opacity: 1;
    animation: scroll-cue-bounce 1.4s ease-in-out infinite;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
    border-color: rgba(232, 121, 215, .85);
    background: rgba(35, 19, 42, .96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .4), 0 0 22px rgba(183, 80, 255, .4);
}

.scroll-cue:focus-visible {
    outline: 2px solid #f5c7f1;
    outline-offset: 4px;
}

@keyframes scroll-cue-bounce {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 4px;
    }
}
/* Ascunde scroll-cue pe ecrane mai mari */
@media (min-width: 701px) {
    .scroll-cue {
        display: none !important;
    }

}

@media (prefers-reduced-motion: reduce) {
    .scroll-cue.is-visible {
        animation: none;
    }
}

@media (max-width: 700px) {
    .page {
        width: min(92%, 540px);
    }

    .back {
        margin: 20px 0;
    }

    .details-grid {
        position: relative;
        isolation: isolate;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin-top: 34px;
    }

    .details-grid::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: -12px;
        border: 1px solid rgba(197, 160, 89, .22);
        border-radius: 30px;
        background:
            radial-gradient(ellipse at 50% 0%, rgba(255, 190, 75, .12), transparent 48%),
            radial-gradient(circle at 0% 100%, rgba(255, 46, 189, .1), transparent 38%),
            linear-gradient(145deg, rgba(197, 160, 89, .06), rgba(25, 10, 35, .28) 48%, rgba(120, 55, 255, .07));
        box-shadow: 0 0 40px rgba(255, 170, 55, .08), inset 0 0 28px rgba(255, 255, 255, .025);
        pointer-events: none;
    }

    .detail-card h2 {
        width: 100%;
        font-size: 18px;
        line-height: 1.25;
        letter-spacing: .4px;
        text-align: center;
    }

    .detail-value {
        width: 100%;
        max-width: 100%;
        font-size: 12px;
        letter-spacing: .8px;
        line-height: 1.45;
        overflow-wrap: normal;
        text-align: center;
    }

    .detail-date {
        letter-spacing: .8px;
    }

    .main-grid {
        gap: 18px;
        margin-top: 42px;
    }

    .tickets-box {
        order: -1;
    }

    .quick-menu {
        position: relative;
        isolation: isolate;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin-top: 42px;
    }

    .quick-menu::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: -12px;
        border: 1px solid rgba(197, 160, 89, .22);
        border-radius: 30px;
        background:
            radial-gradient(ellipse at 50% 0%, rgba(255, 190, 75, .12), transparent 48%),
            radial-gradient(circle at 100% 100%, rgba(255, 46, 189, .1), transparent 38%),
            linear-gradient(145deg, rgba(197, 160, 89, .06), rgba(25, 10, 35, .28) 48%, rgba(120, 55, 255, .07));
        box-shadow: 0 0 40px rgba(255, 170, 55, .08), inset 0 0 28px rgba(255, 255, 255, .025);
        pointer-events: none;
    }

    .quick-menu a:last-child {
        grid-column: 1 / -1;
    }

    .sponsors {
        margin-top: 52px;
    }
}

/* Pagina de eveniment: ierarhie mai clară și contrast mai bun. */
body::after {
    background:
        linear-gradient(180deg, rgba(7, 6, 16, .3), rgba(7, 6, 16, .78)),
        radial-gradient(circle at 20% 30%, rgba(255, 0, 180, .12), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(0, 120, 255, .12), transparent 35%);
}

.page {
    width: min(1200px, 92%);
    padding-bottom: 48px;
}

.back {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin: 22px 0 18px;
    padding: 0 16px;
    border: 1px solid rgba(244, 210, 122, .32);
    border-radius: 999px;
    background: rgba(20, 14, 30, .68);
    color: #f5dfaa;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.back:hover,
.back:focus-visible {
    transform: translateX(-2px);
    border-color: rgba(244, 210, 122, .7);
    background: rgba(43, 28, 48, .88);
}

.hero-frame {
    width: 100%;
    margin-inline: 0;
    padding: 10px;
    border-radius: 30px;
    border-color: rgba(244, 210, 122, .46);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 213, 112, .16), transparent 48%),
        linear-gradient(135deg, rgba(197, 160, 89, .17), rgba(29, 12, 43, .92) 42%, rgba(117, 40, 165, .2));
}

.hero {
    min-height: clamp(380px, 48vw, 590px);
    border-radius: 22px;
    background-position: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .3);
}

.event-details,
.feature-section,
.explore-section {
    margin-top: 56px;
}

.section-intro {
    max-width: 680px;
    margin: 0 auto 24px;
    text-align: center;
}

.section-kicker {
    margin-bottom: 8px;
    color: #f1cb79;
    font-family: 'Inter', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
}

.section-intro h2 {
    color: #fff6e4;
    font-family: 'Cinzel', serif;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 600;
    letter-spacing: .015em;
    line-height: 1.25;
    text-wrap: balance;
}

.section-intro > p:last-child {
    margin-top: 10px;
    color: rgba(245, 238, 250, .78);
    font-family: 'Inter', sans-serif;
    font-size: .98rem;
    line-height: 1.6;
}

.details-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 0;
}

.detail-card {
    max-width: none;
    min-height: 190px;
    padding: 26px 22px 22px;
    border-color: rgba(244, 210, 122, .25);
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 208, 119, .1), transparent 62%),
        linear-gradient(145deg, rgba(20, 15, 35, .96), rgba(12, 11, 26, .97) 65%, rgba(30, 17, 42, .97));
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.detail-card::before {
    background:
        linear-gradient(90deg, transparent 18%, rgba(244, 210, 122, .76) 50%, transparent 82%) top center / 62% 1px no-repeat,
        radial-gradient(circle at 100% 0%, rgba(255, 205, 110, .08), transparent 42%);
}

.detail-card::after,
.detail-card .detail-crown {
    display: none;
}

.date-card,
.location-card,
.start-time-card,
.dj-card,
.party-card,
.after-party-card {
    background: rgba(20, 15, 35, .8);
}

.date-card::after,
.location-card::after,
.start-time-card::after,
.dj-card::after,
.party-card::after,
.after-party-card::after {
    display: block;
    position: absolute;
    z-index: -1;
    inset: -3px;
    border-radius: inherit;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    content: "";
    filter: blur(1px);
    opacity: .8;
    pointer-events: none;
}

.date-card::after {
    background-image:
        linear-gradient(rgba(12, 10, 24, .55), rgba(12, 10, 24, .55)),
        url("../../images/dates.png");
}

.location-card::after {
    background-image:
        linear-gradient(rgba(12, 10, 24, .55), rgba(12, 10, 24, .55)),
        url("../../images/balloc.png");
}

.start-time-card::after {
    background-image:
        linear-gradient(rgba(12, 10, 24, .55), rgba(12, 10, 24, .55)),
        url("../../images/startbal.png");
}

.dj-card::after {
    background-image:
        linear-gradient(rgba(12, 10, 24, .55), rgba(12, 10, 24, .55)),
        url("../../images/djferaa.png");
    filter: none;
}

.party-card::after {
    background-image:
        linear-gradient(rgba(12, 10, 24, .55), rgba(12, 10, 24, .55)),
        url("../../images/rouaclub.png");
    filter: none;
}

.after-party-card::after {
    background-image:
        linear-gradient(rgba(12, 10, 24, .55), rgba(12, 10, 24, .55)),
        url("../../images/partyh.png");
}

@media (min-width: 701px) {
    .dj-card::after {
        background-position: center, center 15%;
        background-size: auto, cover;
    }
}

.detail-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border: 1px solid rgba(244, 210, 122, .24);
    border-radius: 15px;
    background: rgba(244, 210, 122, .08);
    color: #f1cb79;
    filter: none;
}

.detail-card h3 {
    margin: 0;
    color: #fff6e4;
    font-family: 'Cinzel', serif;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.detail-value {
    margin: 8px 0 0;
    color: rgba(245, 238, 250, .82);
    font-size: .83rem;
    font-weight: 500;
    letter-spacing: .025em;
    line-height: 1.55;
    text-align: center;
    text-transform: none;
}

.detail-date {
    color: #f5dfaa;
    font-weight: 700;
    letter-spacing: .08em;
}

.detail-divider {
    margin-top: 14px;
}

.feature-section .section-intro,
.explore-section .section-intro {
    margin-bottom: 22px;
}

.main-grid {
    gap: 20px;
    margin-top: 0;
}

.team-box {
    justify-content: center;
}

.team-carousel {
    width: 100%;
    margin: 12px 0 2px;
}

.team-carousel-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    min-height: 152px;
}

.team-preview-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    border: 1px solid rgba(244, 210, 122, .22);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(42, 31, 47, .88), rgba(17, 15, 28, .9));
    animation: team-preview-in .35s ease both;
}

.team-preview-photo {
    width: 64px;
    height: 64px;
    border: 2px solid rgba(244, 210, 122, .58);
    border-radius: 50%;
    object-fit: cover;
    object-position: center 25%;
    background: rgba(255, 255, 255, .08);
}

.team-preview-name {
    width: 100%;
    color: #fff8e9;
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-wrap: balance;
}

.team-preview-name:hover,
.team-preview-name:focus-visible {
    color: #f5dfaa;
}

.team-preview-role {
    color: #f1cb79;
    font-family: 'Inter', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

.team-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.team-carousel-arrow,
.team-carousel-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    border: 1px solid rgba(244, 210, 122, .32);
    border-radius: 999px;
    background: rgba(244, 210, 122, .08);
    color: #f5dfaa;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.team-carousel-arrow:hover,
.team-carousel-page:hover,
.team-carousel-arrow:focus-visible,
.team-carousel-page:focus-visible {
    border-color: rgba(244, 210, 122, .75);
    background: rgba(244, 210, 122, .18);
}

.team-carousel-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

.team-carousel-page {
    min-width: 9px;
    min-height: 9px;
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    background: rgba(244, 210, 122, .35);
}

.team-carousel-page[aria-current="true"] {
    width: 22px;
    border-radius: 99px;
    background: #f1cb79;
}

@keyframes team-preview-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-box,
.tickets-box {
    min-height: 300px;
    border-color: rgba(244, 210, 122, .25);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 208, 119, .1), transparent 62%),
        linear-gradient(145deg, rgba(20, 15, 35, .96), rgba(12, 11, 26, .97) 65%, rgba(30, 17, 42, .97));
}

.gallery-box a,
.tickets-box a {
    border-color: rgba(244, 210, 122, .48);
    background: linear-gradient(110deg, rgba(163, 113, 39, .56), rgba(111, 65, 125, .42));
}

.gallery-box a:hover,
.tickets-box a:hover,
.gallery-box a:focus-visible,
.tickets-box a:focus-visible {
    border-color: rgba(255, 232, 173, .9);
    background: linear-gradient(110deg, rgba(163, 113, 39, .76), rgba(111, 65, 125, .62));
}

.ticket-fact {
    min-width: 0;
}

.ticket-fact b {
    font-family: 'Inter', sans-serif;
    font-size: .92rem;
    letter-spacing: .02em;
}

.ticket-fact del {
    color: #b7a9c1;
    text-decoration-color: #ef7c91;
}

.quick-menu {
    margin-top: 0;
}

.quick-menu a {
    min-height: 240px;
    border-color: rgba(244, 210, 122, .25);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 208, 119, .1), transparent 62%),
        linear-gradient(145deg, rgba(20, 15, 35, .96), rgba(12, 11, 26, .97) 65%, rgba(30, 17, 42, .97));
}

.quick-menu .quick-menu-action {
    border-color: rgba(244, 210, 122, .4);
    background: linear-gradient(110deg, rgba(163, 113, 39, .38), rgba(111, 65, 125, .3));
}

.sponsors {
    margin-top: 64px;
}

@media (max-width: 700px) {
    .page {
        width: min(92%, 540px);
        padding-bottom: 32px;
    }

    .back {
        margin: 16px 0;
    }

    .hero-frame {
        width: 100%;
        margin-inline: 0;
        padding: 7px;
        border-radius: 23px;
    }

    .hero {
        min-height: clamp(300px, 78vw, 420px);
        border-radius: 17px;
    }

    .event-details,
    .feature-section,
    .explore-section {
        margin-top: 42px;
    }

    .section-intro {
        margin-bottom: 18px;
    }

    .section-intro > p:last-child {
        font-size: .9rem;
    }

    .details-grid {
        gap: 12px;
        margin-top: 0;
    }

    .detail-card {
        min-height: 168px;
        padding: 22px 12px 18px;
        border-radius: 17px;
    }

    .detail-card h3 {
        font-size: .92rem;
        letter-spacing: 0;
    }

    .detail-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 10px;
        border-radius: 13px;
        font-size: 22px;
    }

    .detail-value {
        font-size: .73rem;
        letter-spacing: 0;
    }

    .detail-divider {
        width: 76%;
        margin-top: 10px;
    }

    .main-grid {
        gap: 14px;
    }

    .tickets-box {
        order: 0;
    }

    .gallery-box,
    .tickets-box {
        min-height: 280px;
    }

    .team-carousel-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        min-height: 112px;
    }

    .team-preview-card {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        grid-template-rows: auto auto;
        justify-content: start;
        gap: 5px 14px;
        min-height: 112px;
        padding: 13px 15px;
        border-radius: 15px;
    }

    .team-preview-photo {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 68px;
        height: 68px;
    }

    .team-preview-name {
        align-self: end;
        overflow-wrap: anywhere;
        font-size: .92rem;
        line-height: 1.3;
        text-align: left;
    }

    .team-preview-role {
        align-self: start;
        font-size: .75rem;
        text-align: left;
    }

    .team-carousel-controls {
        gap: 6px;
        margin-top: 10px;
    }

    .team-carousel-pages {
        gap: 4px;
    }

    .team-carousel-page {
        min-width: 6px;
        min-height: 6px;
        width: 6px;
        height: 6px;
    }

    .team-carousel-page[aria-current="true"] {
        width: 16px;
    }

    .quick-menu {
        gap: 12px;
    }

    .quick-menu a {
        min-height: 210px;
        padding: 30px 16px;
        border-radius: 18px;
    }

    .quick-menu h3 {
        font-size: 1.05rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sponsors-track {
        animation-duration: 40s;
    }

    .team-preview-card {
        animation: none;
    }
}

.taras-mobile-ticket-summary {
    display: none;
}

.taras-mobile-ticket-summary[hidden] {
    display: none;
}

@media (max-width: 700px) {
    .taras-mobile-ticket-summary {
        position: fixed;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: 12px;
        z-index: 20;
        width: min(460px, calc(100% - 24px));
        margin: 0 auto;
        padding: 12px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border: 1px solid rgba(244, 210, 122, .48);
        border-radius: 14px;
        background: rgba(10, 7, 15, .96);
        box-shadow: 0 8px 28px rgba(0, 0, 0, .55), 0 0 18px rgba(244, 210, 122, .18);
        color: #fff;
        text-decoration: none;
        backdrop-filter: blur(12px);
    }

    .taras-mobile-ticket-summary[hidden] {
        display: none;
    }

    .taras-mobile-ticket-stats {
        min-width: 0;
        display: grid;
        gap: 5px;
    }

    .taras-mobile-ticket-stats > span {
        display: flex;
        align-items: baseline;
        gap: 5px;
        font-size: 11px;
        line-height: 1.25;
    }

    .taras-mobile-ticket-stats strong {
        color: #c9bdcf;
        font-weight: 500;
    }

    .taras-mobile-ticket-stats b {
        color: #fff;
        white-space: nowrap;
    }

    .taras-mobile-ticket-stats del {
        color: #b7a9c1;
        text-decoration-color: #ef7c91;
    }

    .taras-mobile-ticket-action {
        flex: 0 0 auto;
        padding: 10px 12px;
        border-radius: 9px;
        background: linear-gradient(110deg, #d9b866, #d778ff);
        color: #16091c;
        font-size: 10px;
        font-weight: 900;
        letter-spacing: .04em;
    }
}
